<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>reflect的使用</title>
</head>
<body>
  
  <script>
    const promise = new Promise((resolve, reject) => {
      // resolve(11,333)
      reject(222)
    })

    promise.then(res => console.log(res), reason => console.log(reason))
  </script>
</body>
</html>